; StyleScript.cfg
; Please use this format when creating your own style scripts.

; Emulating:	StealthBot v2.4 Revision 3 (by Stealth)
; Author:	UserLoser
; Email:	userloser@comcast.net
; Website:	http://www.userloser.net/

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.  &h is not needed in 'nameco' trigger, but can still be used.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)

timestamp  [/time/] 
timestamp color /WHITE/

; Internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; StealthBot color map
copy /TEAL/ &h99cc00
copy /CYAN/ &hffff00
copy /LIGHTBLUE/ &hcc9900
copy /GRAY/ &h808080
copy /RED/ &h0000FF
copy /YELLOW/ &h00FFFF
copy /BLUE/ &hFF0000
copy /WHITE/ &hffffff
copy /ORANGE/ &h0080ff
copy /GRAY/ &h999999
copy /GREEN/ &h00FF00

nameco name /TEAL/	; Non-self no-flagged name (used in user list)
nameco self /TEAL/	; Self name (also used in user list)
nameco 1 /TEAL/		; Blizzard Employee
nameco 2 /TEAL/		; Channel Operator
nameco 4 /TEAL/		; Speaker
nameco 8 /TEAL/		; Battle.net System Administrator
nameco &h20 /TEAL/	; Squelched

; Chat events
event 0 /LIGHTBLUE/</CYAN/%2/LIGHTBLUE/> /WHITE/%3
event 1 none
event 2 /GREEN/-- /YELLOW/%2 [%8ms]/GREEN/ has joined the channel using %5.
event 3 /GREEN/-- /YELLOW/%2/GREEN/ has left the channel.
event 4 /ORANGE/<From %2> /GRAY/%3
event 5 /LIGHTBLUE/</YELLOW/%2/LIGHTBLUE/> /white/%3
event 6 /LIGHTBLUE/%3
event 7 /TEAL/-- Joined channel: /YELLOW/%3 /TEAL/--
event 10 /ORANGE/<To %2> /GRAY/%3
event &h12 /LIGHTBLUE/%3
event &h13 /RED/%3
event &h17 /YELLOW/</WHITE/%2 /YELLOW/%3>